
<html><HEAD>
<LINK REL=STYLESHEET HREF="default.css" TYPE="text/css">
<TITLE>
Managing MobiLink synchronization on the server</TITLE>
</HEAD>
<BODY>

<!-- Header -->
<p class="ancestor" align="right"><A HREF="pbugp149.htm">Previous</A>&nbsp;&nbsp;<A HREF="pbugp151.htm" >Next</A>
<!-- End Header -->
<A NAME="BDCCBBCA"></A><h1>Managing MobiLink synchronization on the server</h1>
<A NAME="TI4579"></A><p>You can start the MobiLink synchronization server and Sybase
Central from the PowerBuilder UI.</p>
<A NAME="BDCHGCAJ"></A><h2>Starting the MobiLink synchronization server</h2>
<A NAME="TI4580"></A><p>Before you synchronize remote databases with the consolidated
database, you must start the MobiLink synchronization server. You
can start the server from the Database or the Database Profile painter
in PowerBuilder.</p>
<A NAME="TI4581"></A><p><img src="images/proc.gif" width=17 height=17 border=0 align="bottom" alt="Steps"> To start the MobiLink synchronization server:</p>
<ol><li class=fi><p>From the Objects view of the Database painter
or from the Database Profile painter, expand the ODBC Utilities
folder and click MobiLink Synchronization server.</p><p>The MobiLink Synchronization Server Options dialog box displays.</p></li>
<li class=ds><p>Select the MobiLink version and enter the ODBC
connection string for your consolidated database.</p><p>The values that populate the MobiLink version drop-down list
come from the SQL Anywhere versions listed in the <i>hkey_local_machine\software\odbc\odbcinst.ini</i> registry
key.</p><p>The ODBC connection string should not contain any blank spaces
that are not part of the data source name. The following is an example
of an ODBC connection string for the SQL Anywhere demonstration
database:<p><PRE> DSN=SQL Anywhere 11 Demo;UID=dba;PWD=sql</PRE></p></li>
<li class=ds><p>Define other options as needed. </p><p>For information about filling in specific
fields in the dialog box, click the Help button in the dialog box.
The Usage button opens a dialog box with information about command
line options.</p></li>
<li class=ds><p>Click OK.</p><p>When you click OK, PowerBuilder starts the MobiLink Synchronization server.</p></li></ol>
<br><A NAME="TI4582"></A><h2>Using Sybase Central</h2>
<A NAME="TI4583"></A><p>You
can use Sybase Central to manage MobiLink synchronization and create synchronization
scripts that are held in the consolidated database. You can also use
the <ACRONYM title = "sequel" >SQL</ACRONYM> Anywhere plug-in to
Sybase Central to add publications, synchronization users, and synchronization
subscriptions to remote databases.</p>
<A NAME="TI4584"></A><p><img src="images/proc.gif" width=17 height=17 border=0 align="bottom" alt="Steps"> To start Sybase Central</p>
<ol><li class=fi><p>From the Objects view of the Database painter
or from the Database Profile painter, expand the ODBC Utilities
folder, and click Sybase Central.</p><p>Sybase Central displays.</p></li></ol>
<br><A NAME="TI4585"></A><p><img src="images/proc.gif" width=17 height=17 border=0 align="bottom" alt="Steps"> To work with the consolidated database in Sybase
Central</p>
<ol><li class=fi><p>Select Connections&gt;Connect with
MobiLink 11 from the Sybase Central menu, enter connection parameters
in the Connect to Consolidated Database dialog box, and click OK.</p><p>You can use Sybase Central to add scripts for database tables
and select synchronization events that cause the script to be executed.</p></li></ol>
<br><A NAME="TI4586"></A><p><img src="images/proc.gif" width=17 height=17 border=0 align="bottom" alt="Steps"> To work with remote databases in Sybase Central</p>
<ol><li class=fi><p>Select Connections&gt;Connect with <ACRONYM title = "sequel" >SQL</ACRONYM> Anywhere 11 from the Sybase Central
menu, enter connection parameters in the Connect dialog box, and click
OK.</p><p>If you open the Publications and MobiLink Users folders in
Sybase Central, you can add publications and synchronization users
for the remote database.</p><p>After you add a publication and a synchronization user, you
can create a synchronization subscription by linking a publication
to a synchronization user.</p></li></ol>
<br><A NAME="TI4587"></A><p>For more information, see the chapter on MobiLink synchronization
in the <i>Application Techniques</i>
 and the <ACRONYM title = "sequel" >SQL</ACRONYM> Anywhere online Help. You can
also use the Help menu for the <ACRONYM title = "sequel" >SQL</ACRONYM> Anywhere
and MobiLink plug-ins to Sybase Central.</p>

